<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>后台主界面</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href='<?php echo $static_url; ?>common/css/admin.css' type="text/css" />
<script src="<?php echo $static_url; ?>common/js/jquery-1.8.3.min.js" type="text/javascript"></script>
<script src="<?php echo $static_url; ?>common/js/common.js" type="text/javascript"></script>

<link rel="stylesheet" href='<?php echo $static_url; ?>common/css/daily_record.css' type="text/css" />
</head>
<body class="body_background">
	<div>
		<?php echo $header_nav; ?>
		<div class="common_container clearfix">
			<div class="crumbs">
				<span class="catalogue">会员</span>
				<a href="/www/admin/vip/vip_lists_buy.php">纯买家会员</a> |
				<a href="/www/admin/vip/vip_lists_trading.php">缴费交易会员</a> |
				<a href="/www/admin/vip/vip_lists_upgrade.php">会员升级</a> |
				<a href="/www/admin/vip/vip_lists_buy_before.php">纯买家会员(预审)</a> |
				<a href="/www/admin/vip/vip_lists_trading_before.php">缴费交易会员(预审)</a> |
				<a href="/www/admin/vip/vip_search.php">会员搜索</a>
			</div>
			<div class="daily_record_menu" id="side_container">
				<div class="closeSidebar"><i title="点击隐藏左菜单" class="icon_close"></i></div>
				<ul class="record_menu">
					<li style="font-size:14px;">会员</li>
					<li><a href="/www/admin/vip/vip_lists_buy.php"> └ 纯买家会员</a></li>
					<li><a href="/www/admin/vip/vip_lists_trading.php"> └ 缴费交易会员</a></li>
					<li style="padding-left:20px;width:135px"><a href="/www/admin/vip/vip_lists_trading.php"> └ 总列表</a></li>
					<li style="padding-left:20px;width:135px"><a href="/www/admin/vip/vip_lists_trading.php?status_type=1"> └ 待审核</a></li>
					<li style="padding-left:20px;width:135px"><a href="/www/admin/vip/vip_lists_trading.php?status_type=2"> └ 已认证</a></li>
					<li style="padding-left:20px;width:135px"><a href="/www/admin/vip/vip_lists_trading.php?status_type=3"> └ 已拒绝</a></li>
					<li><a href="/www/admin/vip/vip_lists_upgrade.php"> └ 会员升级</a></li>
					<li><a href="/www/admin/vip/vip_lists_buy_before.php"> └ 纯买家会员(预审)</a></li>
					<li><a href="/www/admin/vip/vip_lists_trading_before.php"> └ 缴费交易会员(预审)</a></li>
					<li><a href="/www/admin/vip/vip_search.php"> └ 会员搜索</a></li>
				</ul>
			</div>
			<div class="sidebar_container_hidden" style="margin-top:10px;margin-right:5px;" >
				<div class="openSidebar"><i title="点击显示左菜单" class="icon_open"></i></div>
			</div>
			<div class="daily_record_main" id="main_container">
				<table class="record_tips"><tr><td>缴费交易会员&nbsp;&gt;&nbsp;<?php echo $this_address; ?></td></tr></table>
				<table class="record_table">
					<thead>
						<tr>
							<th>ID</th>
							<th>用户名</th>
							<th>姓名</th>
							<th>性别</th>
							<th>身份证号码</th>
							<th>申请时间</th>
							<th>认证时间</th>
							<th>管理操作</th>
						</tr>
					</thead>
					<tbody>
						<?php foreach($vip_rs as $row): ?>
						<tr>
							<td><?php echo $row['id']; ?></td>
							<td><?php echo h_d($row['username']); ?></td>
							<td><?php echo h_d($row['name']); ?></td>
							<td><?php echo ($row['sex']==1) ? '男' : '女'; ?></td>
							<td><?php echo h_d($row['cardnumber']); ?></td>
							<td><?php echo date('Y-m-d H:i:s',$row['created']); ?></td>
							<td><?php echo ($row['verify_time']=='') ? '&nbsp;' : date('Y-m-d H:i:s',$row['verify_time']); ?></td>
							<td>
								<a href="/www/admin/vip/vip_edit_trading.php?status_type=<?php echo $row['status']; ?>&id=<?php echo $row['id']; ?>">详情</a>&nbsp;
								(<?php if($row['status']==2){echo '已认证';}elseif($row['status']==3){echo '已拒绝';}else{echo '待审核';}if($row['is_before']==2){echo '：<span style="color:red;font-weight:bold;">预审</span>';} ?>)
							</td>
						</tr>
						<?php endforeach; ?>
						<?php if( $page_html != '' ): ?>
						<tr>
							<td colspan="8" class="navPage"><?php echo $page_html; ?></td>
						</tr>
						<?php endif; ?>
					</tbody>
				</table>
			</div>
		</div>
	</div>
</body>
</html>